package net.dgg.robot.controller;

import net.dgg.robot.task.quartz.HttpUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping(value = "api")
public class TestController {

    /**
     * 根据文件名前缀匹配文件
     *
     * @param fileId 前缀ID
     * @return
     */
    @RequestMapping(value = "yulu.do", method = {RequestMethod.GET, RequestMethod.POST})
    @ResponseBody
    public String findFiles(String fileId) {
        String yulu=HttpUtil.getYiyan();
       return yulu;
    }
}
